<template>
  <view class="container">
    <image class="u-cell-icon" :src="imgUrl" mode="widthFix" />
    <text>{{ text }}</text>
  </view>
</template>

<script setup lang="ts">

defineProps<{
  imgUrl: string
  text: string
}>()

</script>

<style lang="scss" scoped>
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(192, 196, 204);

  .u-cell-icon {
    width: 60%;
  }
}
</style>
